package com.aku.service;

import com.aku.entity.Door;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface DoorService {

    List<Door> findAllDoor();

    Door findDoorById(int id);

    boolean addDoor(Door door);

    boolean updateDoor(Door door);

    boolean removeDoorById(int id);
}
